package com.woniu.car.client;

import com.woniu.car.common.ResponseEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Description:
 * date: 2021/6/29 15:23
 *
 * @author zhoubinbin
 * @since
 */
@FeignClient(value = "goods")
public interface GoodsClient {
    @GetMapping("/goods/tGoods/getGoods")
    public ResponseEntity getGoods(@RequestParam("goodsId") Integer goodsId);
}
